Search
ImagePainter.draw Method (Graphics2D, Image, Rectangle, EnumSet(ImageAlignment), Int32)
See Also
 






Draws the specified image in the target rectangle in the specified graphics using the specified image alignment and semi-transparency factor. The transparency ranges from 0 (invisible) to 255 (opaque).

Namespace: com.mindfusion.drawing
Package: com.mindfusion.drawing

 Syntax

Java  Copy Code

public static void draw (
    Graphics2D g,
    Image image,
    Rectangle rect,
    EnumSet<ImageAlignment> align,
    int transparency
)

 Parameters

g

image

rect

align

transparency

 See Also